package com.bomb.voice.net;

import java.util.Calendar;

import static com.bomb.voice.utils.Md5Util.md532upper;

/**
 * Created by heyue on 2017/1/4.
 */

public class NetConfig {
//    public static String BASE_URL = "http://192.168.6.100:8080/FeiyuNet/";
    public static String BASE_URL = "http://104.199.145.189:8080/FeiyuNet/";
//    public static String BASE_URL = "http://cloud.bmob.cn/5e4164f28a7d88a1/";
    public static String FY_BASE_URL = "http://api.feiyucloud.com/api/";
    public static  String FY_APPID = "324651BAD2341A5D197D88C5C9DCB757";
    public static  long FY_TIMEINMILLIS = Calendar.getInstance().getTimeInMillis();//实际开发 不能用 static 不然值是固定的
    public static String FY_APPTOKEN = "A5D6274BFB09149DBCC9128B5657E1F3";
    public static String FY_AU = md532upper(FY_APPID + FY_APPTOKEN + FY_TIMEINMILLIS);//MD5（FY_APPID+ FY_APPTOKEN+ti）
    public static String FY_API_VERSION = "2.1.0";
    public static String FY_ACCOUNT_ID_1 = "FY32465FSADWI";//abcdefg1
    public static String FY_ACCOUNT_PWD_1 = "IICCIN";

    public static String FY_ACCOUNT_ID_2 = "FY324655EGRBH";//13148453757
    public static String FY_ACCOUNT_PWD_2 = "EM6IUH";

    //retrofitBack = {"resultMsg":"创建成功","result":{"fyAccountPwd":"XQEJYH","status":1,"fyAccountId":"FY32465T9J1E2","addDate":"2017-01-07 11:35:38"},"resultCode":"0"}
    public static String FY_ACCOUNT_ID_3 = "FY32465T9J1E2";//15923313764 刘宇
    public static String FY_ACCOUNT_PWD_3 = "XQEJYH";
    //{"resultMsg":"创建成功","result":{"fyAccountPwd":"PJTZOO","status":1,"fyAccountId":"FY32465FLRPLF","addDate":"2017-01-09 10:36:31"},"resultCode":"0"}
    public static String FY_ACCOUNT_ID_4 = "FY32465OLCVWI";//15923313764 刘宇
    public static String FY_ACCOUNT_PWD_4 = "PG5WJC";
}
